package com.ruoyi.eam.doman;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 入库信息对象 eam_stock
 *
 * @author xl
 * @date 2024-06-27
 */
public class EamStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long stockId;

    /** 入库单号 */
    @Excel(name = "入库单号")
    private String stockcode;

    /** 入库日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stockTime;

    /** 入库类型 */
    @Excel(name = "入库类型")
    private Long stockType;

    /** 经办人 */
    @Excel(name = "经办人")
    private String handlePerson;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long creator;

    /** 审核类型 */
    @Excel(name = "审核类型")
    private Long auditType;

    /** 审核人 */
    @Excel(name = "审核人")
    private Long auditPerson;

    /** 审核人 */
    @Excel(name = "资产id")
    private Long assetId;

    private Long isDel;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    public Long getIsDel() {
        return isDel;
    }

    public void setIsDel(Long isDel) {
        this.isDel = isDel;
    }

    public Long getAssetId() {
        return assetId;
    }

    public void setAssetId(Long assetId) {
        this.assetId = assetId;
    }

    public void setStockId(Long stockId)
    {
        this.stockId = stockId;
    }

    public Long getStockId()
    {
        return stockId;
    }
    public void setStockcode(String stockcode)
    {
        this.stockcode = stockcode;
    }

    public String getStockcode()
    {
        return stockcode;
    }
    public void setStockTime(Date stockTime)
    {
        this.stockTime = stockTime;
    }

    public Date getStockTime()
    {
        return stockTime;
    }
    public void setStockType(Long stockType)
    {
        this.stockType = stockType;
    }

    public Long getStockType()
    {
        return stockType;
    }
    public void setHandlePerson(String handlePerson)
    {
        this.handlePerson = handlePerson;
    }

    public String getHandlePerson()
    {
        return handlePerson;
    }
    public void setCreator(Long creator)
    {
        this.creator = creator;
    }

    public Long getCreator()
    {
        return creator;
    }
    public void setAuditType(Long auditType)
    {
        this.auditType = auditType;
    }

    public Long getAuditType()
    {
        return auditType;
    }
    public void setAuditPerson(Long auditPerson)
    {
        this.auditPerson = auditPerson;
    }

    public Long getAuditPerson()
    {
        return auditPerson;
    }
    public void setAuditTime(Date auditTime)
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime()
    {
        return auditTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stockId", getStockId())
            .append("stockcode", getStockcode())
            .append("stockTime", getStockTime())
            .append("stockType", getStockType())
            .append("handlePerson", getHandlePerson())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("auditType", getAuditType())
            .append("auditPerson", getAuditPerson())
            .append("auditTime", getAuditTime())
            .append("assetId", getAssetId())
                .toString();
    }
}
